﻿using HPIT_Library_Modal;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection.Emit;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HPIT_Library
{
   
    public partial class Index : BasePage
    {
        protected LoginInfo LoginInfoModel = new LoginInfo();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoginInfo loginInfo = Session["Info"] as LoginInfo;
                if (loginInfo != null)
                {
                    LoginInfoModel = loginInfo;
                }
                Label_admin.Text = Convert.ToString(LoginInfoModel.useName);
                //string name = Request["Name"];
                //Label_admin.Text = name;
            }
           

        }
    }
}